﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt"%>
<!DOCTYPE HTML>
<html>
<head>
    <%@include file="/WEB-INF/pages/header.jsp" %>
    <title>作者个人信息</title>
</head>
<body>

<div class="pd-20">


    <div class="mt-20">
        <table class="table table-border table-bordered table-bg table-hover" >
            <thead>
            <tr>
                <th>作者编号</th>
                <th>姓名</th>
                <th>昵称</th>
                <th>注册时间</th>
                <th>修改时间</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>${author.id }</td>
                <td>${author.userName }</td>
                <td>${author.nickName }</td>
                <td><fmt:formatDate value="${author.createTime }" pattern="yyyy-MM-dd HH:mm:ss"/></td>
                <td><fmt:formatDate value="${author.updateTime }" pattern="yyyy-MM-dd HH:mm:ss"/></td>

                <td>
                    <button class="btn size-MINI btn-secondary radius" onclick="showLayer('修改信息','<%=ctxPath%>/author/updateInfoPage?id=${author.id }')">修改</button>
                </td>
            </tr>
            </tbody>
        </table>



    </div>
</div>
</body>
</html>